/*
 * WxBizWelcomeMsgMapper.java
 * Copyright(C) 2020-2099 WYY
 * All rights reserved.
 * -----------------------------------------------
 * 2020-06-29 Created
 */
package com.project.web.wechat.service.app;

import com.project.web.course.service.common.BaseService;
import com.project.web.wechat.model.app.WxBizWelcomeMsg;
import org.apache.ibatis.annotations.Param;

public interface WxBizWelcomeMsgService extends BaseService<WxBizWelcomeMsg, Long> {

    /**
     * 根据渠道编码和用户ID查询欢迎语
     *
     * @param userId
     * @param channelCode
     * @return
     */
    WxBizWelcomeMsg getByChannelAndUserId(@Param("userId") String userId, @Param("channelCode") String channelCode);
}